package cn.iocoder.yudao.module.digital.service.cardchannel.model.bamboo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class BambooCatalog {
    private List<Item> items;

    @Data
    public static class Item {
        private String internalId;
        private String name;
        private String countryCode;
        private String currencyCode;
        private String description;
        private String disclaimer;
        private String redemptionInstructions;
        private String terms;
        private String logoUrl;
        private String modifiedDate;
        private List<Product> products;
        private List<Category> categories;
    }

    @Data
    public static class Category{
        private Integer id;
        private String name;
        private String description;
    }

    @Data
    public static class Product {
        private String id;
        private String name;
        private BigDecimal minFaceValue;
        private BigDecimal maxFaceValue;
        private Integer count;
        private Price price;
        private String modifiedDate;
    }

    @Data
    public static class Price{
        private BigDecimal min;
        private BigDecimal max;
        private String currencyCode;
    }

}
